package com.ruyuan.rapid.common.exception;

import com.ruyuan.rapid.common.enums.ResponseCode;

/**
 * 服务信息未找到,比如服务定义,服务实例信息未找到都会抛出此异常
 * @author mac
 */
public class RapidNotFoundException extends RapidBaseException {

    public RapidNotFoundException(ResponseCode code) {
        super(code.getMessage(), code);
    }

    public RapidNotFoundException(Throwable cause, ResponseCode code) {
        super(cause.getMessage(), code);
    }
}
